package com.ruoyi.config;


import io.lettuce.core.dynamic.annotation.CommandNaming;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/***
 * MQTT配置
 * @author 张沐
 */
@Component
@ConfigurationProperties(prefix = "mqtt")
@Data
public class MqttConfiguration {
    private String host;
    private String userName;
    private String passWord;
    private int qos;
    private String clientId;
    private int timeout;
    private int keepalive;
    private String topic1;
    private String topic2;
    private String topic3;
}
